home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1127 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: engnews1.Eng.Sun.COM!taumet!clamage
  2. From: Randy Merkel <rmerkel@acm.org>
  3. Newsgroups: comp.std.c++
  4. Subject: What does auto_ptr<T>::reset () do?
  5. Date: 17 Apr 1996 14:57:33 GMT
  6. Organization: Clover Software
  7. Approved: clamage@eng.sun.com (comp.std.c++)
  8. Message-ID: <31746C4E.7D50@acm.org>
  9. NNTP-Posting-Host: taumet.eng.sun.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset="us-ascii"
  12. Content-Transfer-Encoding: 7bit
  13. X-Nntp-Posting-Host: ad40-175.compuserve.com
  14. X-Mailer: Mozilla 2.0 (Win95; I)
  15. X-Lines: 17
  16. Content-Length: 324
  17. Originator: clamage@taumet
  18.  
  19. Howdy,
  20.  
  21. The April 1995 working paper does not [IMHO] explain what:
  22.  
  23. 1. auto_ptr<T>::reset () does with its current value, i.e., does it 
  24. delete it?
  25. 2. it [reset] returns.
  26.  
  27. Does anybody have the answers?
  28.  
  29. Thanks,
  30.  
  31. -- Randy
  32.  
  33. ====================================================================
  34. Randy Merkel o-
  35. rmerkel@ACM.org
  36.  
  37.  
  38. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  39. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  40. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  41. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  42. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  43.